<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{echo: lp{m_u_center};/}</title>
<link rel="stylesheet" type="text/css" href="skin/{echo: $SYSINFO['templates'];/}/css/modules.css">
<link rel="stylesheet" type="text/css" href="skin/{echo: $SYSINFO['templates'];/}/css/layout.css">
<link rel="stylesheet" type="text/css" href="skin/{echo: $SYSINFO['templates'];/}/css/style.css">
<script type="text/javascript" src="skin/{echo: $SYSINFO['templates'];/}/js/changeStyle.js"></script>
<script type="text/javascript" src="skin/{echo: $SYSINFO['templates'];/}/js/userchangeStyle.js"></script>
<style type="text/css">
td span { color:red; }
#reg_step { width:770px; height:29px; margin: 12px auto 20px; line-height: 29px; }
#reg_step ol li { width: 154px; float: left; padding:0 0 3px; font-size: 14px; font-weight: bold; background-color:#ececec; color:#333; text-align:center; }
#reg_step ol li span, #reg_step ol li strong { display: block; text-align:center; }
#reg_step ol li.current { background:url(skin/default/images/steps_bg.gif) left top no-repeat; padding-top:4px; margin-top:-4px; color:#FFF; }
#reg_step ol li.last_current { background-color: #F6A248; color: #fff; background-position: right -145px; }
td { text-align:left; }
</style>
</head>
<body>
{inc: require("shop/index_header.php");/}
<div class="site_map"> {echo:lp{m_current_position};/}<A href="index.php">{echo:$SYSINFO['sys_name'];/}</A>/<a href="modules.php">{echo:lp{m_u_center};/}</a>/&nbsp;&nbsp;{echo: lp{m_order_info};/} </div>
<div class="clear"></div>
{inc: require("modules/left_menu.php");/}
<div class="main_right">
	<div class="right_top"></div>
	<div class="cont">
		<div ><h3 class="cont_title">{echo: lp{m_order_poststing};/}</h3></div>
   <hr />
		<form action="do.php?act=shop_delivery_add&id={echo:$order_id;/}" method="post" onsubmit="return check();">
		<table class="form_table_02" width="100%" border="0" cellspacing="0">
			<tr>
				<th>{echo: lp{m_user_yunshu};/}:</th>
				{sta: if($row1['transport_type']==1) [exc]}
				<td>EMS</td>
				{sta: } elseif($row1['transport_type']==2) [exc]}
				<td>{echo: lp{m_surface};/}</td>
				{sta: } else [exc]}
				<td>{echo: lp{m_express_delivery};/}</td>
				{end:if/}
			</tr>
			<tr>
				<th>{echo: lp{m_shipping_name};/}:</th>
				<td><input type="text" id="shipping_name" name="shipping_name" maxlength="50"/></td>
			</tr>
			<tr>
				<th>{echo: lp{m_shipping_no};/}:</th>
				<td><input type="text" id="shipping_no" name="shipping_no" maxlength="50"/></td>
			</tr>
			<tr>
				<th>{echo: lp{m_shipping_type};/}:</th>
				<td><input type="text" id="shipping_type" name="shipping_type" maxlength="50"/></td>
			</tr>
			<tr>
		        <td></td>
		        <td><input type="submit" value="{echo: lp{m_send};/}"/></td>
		    </tr>
		</table>
	</form>
	</div>
</div>
<div class="clear"></div>
{inc: require("shop/index_footer.php");/}
<script language="JavaScript">
function Trim(center) {
	return center.replace(/\s+$|^\s+/g,"");
}
function check(){
	var shipping_name = Trim(document.getElementById("shipping_name").value);
	var shipping_no = Trim(document.getElementById("shipping_no").value);
	var shipping_type = Trim(document.getElementById("shipping_type").value);
	if(shipping_name.length==0){
		alert("{echo: lp{m_shipping_name_no};/}");
		return false;
		}
	if(shipping_no.length==0){
		alert("{echo: lp{m_shipping_no_no};/}");
		return false;
		}
	if(shipping_type.length==0){
		alert("{echo: lp{m_shipping_type_no};/}");
		return false;
		}
}
</script>
</body>
</html>